<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/page/common/public.jspf"%>
<!DOCTYPE HTML>
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<meta content="max-age=0" http-equiv="Cache-Control" />
<meta content="width=device-width; initial-scale=1.2; minimum-scale=1.0; maximum-scale=2.0" name="viewport" />
<meta content="telephone=no" name="format-detection" />
<meta content="240" name="MobileOptimized" />
<title>充值</title>
<script type="text/javascript" src="${path }/js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="${path }/js/helper.js"></script>
<script type="text/javascript" src="${path }/js/money/withdraw.js"></script>
<link href="${skin }/css/public.css" rel="stylesheet" type="text/css" />
<link href="${skin }/css/style.css" rel="stylesheet" type="text/css" />
</head>

<body>
	<c:import url="/page/common/head.jsp">
		<c:param name="type">wdcp</c:param>
	</c:import>
	<input type="hidden" value="${fn:length(bankcardList) }" id="bankcardListSize" />
	<div class="kj_content" id="withDrawConfirmDiv">
		<div class="tz_title center s_16">提款</div>
		<div class="bc_area">
			<p class="info_tips pl_10 pt_15 s_14">请确定您的提款信息：</p>
			<div class="ui_form">
				<div class="form_line no_input">
					<label class="attr">真实名字</label> <span class="amounts">${user.realName }</span>
				</div>
				<div class="form_line no_input">
					<label class="attr">手机号码</label> 
					<span class="amounts">
						${fn:substring(user.mobile,0,3)}****${fn:substring(user.mobile,fn:length(user.mobile)-4,fn:length(user.mobile))}
					</span>
				</div>
				<div class="form_line no_input">
					<label class="attr">身份证号</label> 
					<span class="amounts">
						${fn:substring(memberInfo.cardNumber,0,4)}**********${fn:substring(memberInfo.cardNumber,fn:length(memberInfo.cardNumber)-4,fn:length(memberInfo.cardNumber))}
					</span>
				</div>
				<div class="form_line no_input">
					<label class="attr">银行卡号</label> 
						<span class="amounts">
							<c:if test="${storeId=='1010'}">
							<select name="withdraw_bank" id="withdraw_bank">
								<c:forEach items="${bankcardList }" var="bank">
									<option value="${bank.id }" <c:if test="${bank.isPriority eq 'YES'}">selected</c:if>>${bank.bankName.text}${fn:substring(bank.accountNo,0,4)}**********${fn:substring(bank.accountNo,fn:length(bank.accountNo)-4,fn:length(bank.accountNo))}</option>
								</c:forEach>
							</select> 
							</c:if>
							
							<c:if test="${storeId=='1020'}">
							<input type="hidden" value="${bankcardList[0].id }" name="withdraw_bank" id="withdraw_bank">
							建行${fn:substring(bankcardList[0].accountNo,0,4)}**********${fn:substring(bankcardList[0].accountNo,fn:length(bankcardList[0].accountNo)-4,fn:length(bankcardList[0].accountNo))}
							</c:if>
						</span>
				</div>
				<div class="form_line no_input">
					<label class="attr">可提金额</label> <span class="amounts red"><span><fmt:formatNumber value="${canMoney/100}" pattern="#0.00"/>
			<input id="overage" type="hidden" value="${canMoney}"/></span>元</span>
				</div>
				<div class="form_line form_line_money">
					<label class="attr">提款金额</label> <input type="text"
						id="withdraw_money" id="withdraw_money" placeholder=""> <span class="amounts">最低：20元</span>
					<i class="btn_del">X</i>
				</div>
				<div class="btn_line">
					<span class="ui_btn_blue qb_btn btn_block" id="withdrawConfirm">确认提款</span>
				</div>
			</div>
			<div class="ui_tips">
				<h6>温馨提示：</h6>
				<c:if test="${storeId=='1010'}">
				<ol>
					<li>1.不支持充值本金提现，只支持奖金提现。</li>
					<li>2.提款时，请确保真实姓名与绑定银行卡信息一致。</li>
					<li>3.提款申请一般在两个工作日内处理完成。涉嫌信用卡套现的提款将在45个工作日后退还原信用卡账户。</li>
					<li>4.不向未满18周岁的青少年出售彩票。</li>
				</ol>
				</c:if>
				<c:if test="${storeId=='1020'}">
				<ol>
					<li>1.奖金每次提现最少20元，手续费1元/笔，不足20元您可以直接用于购彩。</li>
					<li>2.同一个账号一天最多提现2万元，超过2万元请与客服电话预约。</li>
					<li>3.提款时，请确保真实姓名与绑定银行卡信息一致。</li>
					<li>4.提款申请一般在1-3个工作日处理完成。</li>
				</ol>
				</c:if>
			</div>
		</div>
	</div>
	<c:import url="/page/common/bottom.jsp"></c:import>
</body>
</html>
